dayup = 1.0
dayfactor = 0.01
for i in range(365):
    if i % 7 in [1, 2, 3]:
        dayup = dayup
    else:
        dayup = dayup * (1 + dayfactor)
print("连续学习365天后的能力值为:{:.3f}".format(dayup))
